export default [
  {
    url: "/api/user/v1/login",
    method: "post",
    response: ({ body }) => {
      const { userName, userPwd } = body;
      if (userName === "liuguoquan" && userPwd === "890727") {
        return {
          code: 200,
          message: "success",
          data: {
            token: "hsfkjshfkhfkhskfhskhfkshfk",
            userId: 1,
            phoneNum: "18589044657",
            userName: "michaelliu",
          },
        };
      } else {
        return {
          code: 100,
          message: "用户名或密码不正确",
          data: {
          },
        };
      }
    },
  },
];
